package com.example.design_pattern.Decorator.details;

import com.example.design_pattern.Decorator.service.Equipment;
import com.example.design_pattern.Decorator.service.impl.Diamond;

public class RedDiamond extends Diamond {
    public RedDiamond(Equipment equipment) {
        super(equipment);
    }
    @Override
    public void action() {
        super.action();
        System.out.println("红色现实宝石");
    }
}
